package com.geekaca.dao.impl;

import com.geekaca.dao.BookDao;
import org.springframework.stereotype.Repository;

@Repository
public class BookDaoImpl implements BookDao {

    //    @Override
//    public void save() {
//        Long startTime = System.currentTimeMillis();
//
//        for (int i = 0; i < 10000; i++) {
//            System.out.println("book dao save...");
//        }
//        Long endTime = System.currentTimeMillis();
//
//        long totalTime = endTime - startTime;
//
//        System.out.println("执行一万次消耗时间： " + totalTime + "ms");
//    }

    @Override
    public void save() {
        System.out.println("save...");
    }

    @Override
    public void update() {

    }

    @Override
    public void delete() {

    }

    @Override
    public void select() {

    }
}
